package com.stedu.mapper;

import com.stedu.bean.RepairPersonnel;

import java.util.List;

public interface RepairPersonnelMapper {
    int insert(RepairPersonnel r);
    //根据eid删除
    Long delete(Integer pid);
    //根据ID修改
    int update(RepairPersonnel r);
    //根据姓名查询
    List<RepairPersonnel> selectByPname(String pname);
    //查询所有
    List<RepairPersonnel> selectAll();
    //根据id查询
    RepairPersonnel selectByPid(Integer pid);
    List<RepairPersonnel> selectByDid(Integer did);
}
